
/** Example java code with many checkstyle violations.
 *   @author jdalbey
 */   
public class BadStyleExample
{
    private int comments;
    final int fingers;
    public BadStyleExample()
    {
        this.fingers = 10;    
    }

    /** Returns the default token a check is interested in. 
     *  Only used if the configuration for a check does not define the tokens.
     */
    public int[] getDefaultTokens()
    {
        return (new int[] { 9,3,2 
        });
    }

    public void begin()
    {
        /* hello */
        int x;
        for (int i=0; i<10; i++)
        {
            System.out.println(i);
        }
    }

}
